import request from '@/utils/request'

// 获取系统用户列表
export function sysUserList() {
  return request({
    url: '/system/settledStore/sysUser',
    method: 'get',
    loading: true
  })
}

// 提现明细列表（分页）
export function withdrawalDetailList(query) {
  return request({
    url: '/system/settledStore/withdrawal/pageList',
    method: 'get',
    params: query,
    loading: true
  })
}

// 更新打款（分页）
export function doneWithdrawal(data) {
  return request({
    url: '/system/settledStore/done',
    method: 'Post',
    data: data,
    loading: true
  })
}
